package com.lzw.breadknife;

public abstract class LiveData implements ILiveData {
    private Unbinder unbinder;

    protected void notifyDataChange() {
        if (unbinder != null)
            unbinder.notifyDataChange(this.getClass());
    }

    @Deprecated
    public <B extends Unbinder> void bindTape(B unbinder) {
        this.unbinder = unbinder;
    }
}
